home *** CD-ROM | disk | FTP | other *** search
- .TH CINFLECT
- 6 "IRIT Version 6.0"
- .SH NAME
- CINFLECT
-
-
-
- ListType CINFLECT( CurveType Crv, NumericType Epsilon )
-
- or
-
- CurveType CINFLECT( CurveType Crv, NumericType Epsilon )
-
- Computes the inflection points of Crv in the XY plane.
- Since this computation is numeric, an Epsilon is also required
- to specify the desired tolerance. It returns a list of all the
- parameter values (NumericType) in which the curve has an inflection point.
- If, however, Epsilon is negative, a scalar field curve representing
- the sign of the curvature of the curve is returned instead.
-
- The sign of curvature scalar field is equal to
-
- s(t) = x' y'' - x'' y'
-
- Example:
-
- inflect = CINFLECT( crv, 0.001 );
- pt_inflect = nil();
- pt = nil();
- for ( i = 1, 1, sizeof( inflect ),
- pt = ceval( crv, nth( inflect, i ) ):
- snoc( pt, pt_inflect )
- );
- interact( list( axes, crv, pt_inflect ), 0);
-
- Computes the set of inflection points of curve crv with error
- tolerance of 0.001. This set is then scanned in a loop and
- evaluated to the curve's locations which are then displayed with the crv.
- See also CZEROS, CEXTREMES, and CCRVTR.
-